<template>
<el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
</template>

<script>
  export default {
    data() {
      return {
        data: [],
    
      };
    },
    methods: {
      // 获取数据列表
      getDataList () {
        this.$http({
          url: this.$http.adornUrl('/member/category/list/tree'),
          method: 'get',
        }).then(data=>{
            console("获取数据："+data)
        })
      },
    }
  };
</script>

<style scoped>
</style>